@extends('app')

@section('content')

<link href="{{ asset('/css/spinners.css') }}" rel="stylesheet">

<div id="grid" class="grid" style="position: fixed;z-index: 1000;left:50%;display: none;">
    <div class="cell">
        <div class="card">
            <span class="throbber-loader">Loading…</span>
        </div>
    </div>
</div>

<ul class="nav nav-tabs">
    <li class="active"><a href="{{ url('/admin/users/restatus')}}">简历状态</a></li>
</ul>

<div class="panel panel-default mt20">
    <div class="panel-heading">新增</div>
    <div class="table-responsive panel-body">
        <form method="POST" action="{{ url('/admin/users/restatus') }}">
            <div class="form-inline mt20">
                <div class="form-group">
                    <label>名称：</label>
                    <input type="text" class="form-control" name="name" id="name">
                </div>
                <div class="form-group">
                  <button type="submit" class="btn btn-info">
                            <i class="icon-ok bigger-110"></i>
                            Submit
                  </button>
                </div>
            </div>
            {!! csrf_field() !!}
        </form>
    </div>
</div>

<div class="panel panel-default mt20">

    <div class="table-responsive panel-body">
        <table class="table table-hover">
            <thead>
            <tr>
                <th>编号</th>
                <th>名称</th>
                <th>操作</th>
            </tr>
            </thead>
            <tbody>
            @foreach($result as $res)
            <tr id="news_{{ $res->id }}">
                <td>{{ $res->id }}</td>
                <td><a href="">{{ $res->name }} </a></td>
                <td>
                    <a href="#"><i class="glyphicon glyphicon-edit"></i></a>&nbsp;&nbsp;&nbsp;&nbsp;
                </td>
            </tr>
            @endforeach
            </tbody>
        </table>
    </div>
</div>
@endsection
